package com.qf.mapper;

import com.qf.domain.EbookEntry;
import com.qf.vo.ResultVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EbookEntryMapper {
    //根据分类查找所有书籍
    List<EbookEntry> findByType(@Param("type") Integer type);

    int insertbook(EbookEntry ebookEntry);

    EbookEntry findID(@Param("id") Integer id);

    int updatebook(EbookEntry ebookEntry);

    int deletebook(@Param("id")Integer id);
}
